package jf.jufanzhibo.view.Main;


import android.os.Bundle;
import android.support.v4.app.Fragment;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;

import jf.jufanzhibo.R;

/**
 * A simple {@link Fragment} subclass.
 */
public class MineFragment extends Fragment {
private static MineFragment mineFragment;

    public MineFragment() {
        // Required empty public constructor
    }
    public static Fragment setFragment() {
        if (mineFragment == null)
            synchronized (MineFragment.class) {
                if (mineFragment == null) {
                    mineFragment = new MineFragment();
                }
            }
        return mineFragment;
    }



    @Override
    public View onCreateView(LayoutInflater inflater, ViewGroup container,
                             Bundle savedInstanceState) {
        // Inflate the layout for this fragment
        return inflater.inflate(R.layout.fragment_mine, container, false);
    }

}
